.v-input--radio-group__input {
  label {
    margin-bottom: 0;
  }
}
.icho-checkbox.v-input--checkbox {
  display: inline-block;
  label {
    margin-bottom: 0;
  }
}
.opcity0 {
  background-color: rgba(0, 0, 0, 0) !important;
}
.neu-card {
  width: 100%;
  border-radius: 5px !important;
  background-color: $neu-white-color;
}
.neu-shadow {
  box-shadow: 0 3px 15px -5px rgba($color: $neu-primary-color, $alpha: 0.4);
}
.neu-gray-img {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
}
.neu-card-title {
  height: 52px;
  line-height: 52px;
  text-align: left;
  color: $neu-primary-color;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
  border-bottom: 1px solid $neu-border-color;
  position: relative;
  .neu-card-title-btn-list {
    position: absolute;
    height: 52px;
    line-height: 52px;
    right: 0;
    top: 0;
  }
}
.neu-card-cont {
  height: calc(100% - 70px);
  margin-top: 12px;
}
.neu-btn {
  display: inline-block;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 2px;
}
.neu-btn + .neu-btn {
  margin-left: 10px;
}
.neu-btn-mini {
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
}
.neu-btn-small {
  height: 30px;
  line-height: 30px;
  padding: 0 20px;
}
.neu-btn-normal {
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  cursor: pointer;
}
.neu-weight6 {
  font-weight: 600 !important;
}
.neu-weight7 {
  font-weight: 700 !important;
}
.neu-weight8 {
  font-weight: 800 !important;
}
.neu-weight9 {
  font-weight: 900 !important;
}
.neu-weight5 {
  font-weight: 500 !important;
}
.neu-rotate90 {
  transform: rotate(90deg);
}
.lineh-28 {
  line-height: 28px;
}
.icho-head-icon {
  height: 52px;
  line-height: 52px !important;
  float: left;
}
.icho-input-label {
  line-height: 24px;
  white-space: nowrap;
}
.search-btn-list {
  text-align: left;
  line-height: 40px;
}
.icho-border {
  border: 1px dashed #d9d9d9;
  border-radius: 5px;
  overflow: hidden;
}
.neu-btn-default {
  border-radius: 5px;
  cursor: pointer;
  background-color: $neu-white-color;
  border: 1px solid $neu-primary-color;
  box-sizing: border-box;
  color: $neu-primary-color;
  &:hover {
    background-color: rgba($color: $neu-primary-color, $alpha: 0.1);
  }
}
.neu-btn-primary {
  border-radius: 5px;
  background-color: $neu-primary-color;
  color: $neu-white-color;
  cursor: pointer;
  &:hover {
    background-color: rgba($color: $neu-primary-color, $alpha: 0.9);
  }
}
.neu-btn-danger {
  border-radius: 5px;
  background-color: $neu-error-color;
  color: $neu-white-color;
  cursor: pointer;
  &:hover {
    background-color: rgba($color: $neu-error-color, $alpha: 0.9);
  }
}
.neu-color-blue {
  color: $neu-primary-color !important;
}
.neu-color-orange {
  color: $neu-orange-color !important;
}
.neu-color-red {
  color: $neu-error-color !important;
}
.neu-color-green {
  color: $neu-green-color !important;
}
.neu-color-white {
  color: $neu-white-color !important;
}
.neu-color-black {
  color: $neu-black-color !important;
}
.neu-color-black3 {
  color: $neu-black3-color !important;
}
.neu-color-black9 {
  color: $neu-black9-color !important;
}
.neu-color-desc {
  color: $neu-desc-color !important;
}
.neu-bg-white {
  background-color: $neu-white-color;
}
.neu-bg-blue {
  background-color: $neu-primary-color !important;
}
.neu-btn-bg-blue {
  background-color: $neu-primary-color !important;
  &:hover {
    background-color: $neu-primary-hover-color !important;
  }
}
.neu-bg-orange {
  background-color: $neu-orange-color !important;
}
.neu-bg-red {
  background-color: $neu-error-color !important;
}
.neu-bg-green {
  background-color: $neu-green-color;
}
.neu-bg-global {
  background-color: $neu-global-color;
}
.neu-bg-black3 {
  background-color: $neu-black3-color !important;
}
.neu-bg-filter {
  background-color: $neu-filter-color !important;
}
.neu-border-red {
  border-color: $neu-error-color !important;
}
.neu-border-blue {
  border-color: $neu-primary-color !important;
}

.neu-bg-none {
  background-color: rgba(0, 0, 0, 0) !important;
}
.neu-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
}
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.neu-ellipse {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.neu-pointer {
  cursor: pointer;
}
.neu-left {
  float: left;
  width: 100%;
}
.neu-input-lable {
  width: 80px;
  font-size: 14px;
  line-height: 24px;
}
.neu-input-size {
  font-size: 14px;
}
.relative {
  position: relative;
}
.overflow-y-scroll {
  overflow-y: scroll !important;
}
.overflow-y-auto {
  overflow-y: auto !important;
}
.hidden {
  overflow: hidden !important;
}
.block {
  display: block !important;
}

@for $i from 1 through 10 {
  .el-icon-custom-#{$i} {
    width: 100%;
    height: 100%;
    display: inline-block;
    position: relative;
    &::before {
      content: '#{$i}';
      font-family: Source Han Sans CN;
      width: 100%;
      height: 100%;
      box-sizing: border-box;
      text-align: center;
      display: block;
      position: absolute;
      transform: scale(0.8);
      top: 0%;
      left: 0%;
      line-height: inherit;
      font-size: 10px;
    }
  }
}
// 定义 全局 padding margin class
@for $i from -20 through 20 {
  .pa-#{$i} {
    padding-top: 4px * $i !important;
    padding-bottom: 4px * $i !important;
    padding-left: 4px * $i !important;
    padding-right: 4px * $i !important;
  }
  .px-#{$i} {
    padding-left: 4px * $i !important;
    padding-right: 4px * $i !important;
  }
  .py-#{$i} {
    padding-top: 4px * $i !important;
    padding-bottom: 4px * $i !important;
  }
  .pt-#{$i} {
    padding-top: 4px * $i !important;
  }
  .pb-#{$i} {
    padding-bottom: 4px * $i !important;
  }
  .pl-#{$i} {
    padding-left: 4px * $i !important;
  }
  .pr-#{$i} {
    padding-right: 4px * $i !important;
  }

  .ma-#{$i} {
    margin-top: 4px * $i !important;
    margin-bottom: 4px * $i !important;
    margin-left: 4px * $i !important;
    margin-right: 4px * $i !important;
  }
  .mx-#{$i} {
    margin-left: 4px * $i !important;
    margin-right: 4px * $i !important;
  }
  .my-#{$i} {
    margin-top: 4px * $i !important;
    margin-bottom: 4px * $i !important;
  }
  .mt-#{$i} {
    margin-top: 4px * $i !important;
  }
  .mb-#{$i} {
    margin-bottom: 4px * $i !important;
  }
  .ml-#{$i} {
    margin-left: 4px * $i !important;
  }
  .mr-#{$i} {
    margin-right: 4px * $i !important;
  }
}

// element tree 复写   class:icho-tree

.icho-tree.el-tree {
  font-weight: 500;
  &.el-tree--highlight-current
    .el-tree-node.is-current
    > .el-tree-node__content {
    background-color: rgba($color: $neu-primary-color, $alpha: 0.05) !important;

    .el-icon-circle-plus-outline {
      color: #004898;
    }
    .el-icon-remove-outline {
      color: red;
    }
    &:hover {
      background-color: rgba(
        $color: $neu-primary-color,
        $alpha: 0.1
      ) !important;
    }
  }
  .el-tree-node {
    min-height: 46px;
    line-height: 46px;
    font-size: 14px;
    position: relative;
    &.is-current.is-focusable > .el-tree-node__content {
      border-radius: 5px;
      &:hover {
        background-color: rgba($color: $neu-primary-color, $alpha: 0);
      }
    }
    &.is-current {
      & > .el-tree-node__content > .custom-node,
      & > .el-tree-node__content > .custom-node > .node-label,
      & > .el-tree-node__content > .el-tree-node__label {
        font-weight: 600;
        color: $neu-primary-color;
      }
      &::before {
        content: '';
        display: block;
        right: 16px;
        top: 17px;
        position: absolute;
        width: 0px;
        height: 0px;
        min-height: 0 !important;
        border-top: 5px solid #00000000;
        border-bottom: 5px solid #00000000;
        border-left: 5px solid $neu-primary-color;
      }
    }
    .custom-node {
      width: calc(100% - 24px);
      .node-label {
        display: block;
        width: calc(100% - 30px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
    .el-tree-node__content {
      min-height: 46px;
      line-height: 46px;
      font-size: 14px;
      border-radius: 5px;
      background-color: rgba($color: $neu-primary-color, $alpha: 0) !important;
      &:hover {
        background-color: rgba(
          $color: $neu-primary-color,
          $alpha: 0.1
        ) !important;
        .el-icon-circle-plus-outline {
          color: #004898;
        }
        .el-icon-remove-outline {
          color: red;
        }
      }
    }
  }
}
.icho-tree.el-tree.no-select-tip .el-tree-node.is-current::before {
  content: '';
  display: none !important;
}
// 禁止文字选中
body {
  -moz-user-select: none; /*火狐*/
  -webkit-user-select: none; /*webkit浏览器*/
  -ms-user-select: none; /*IE10*/
  -khtml-user-select: none; /*早期浏览器*/
  user-select: none;
}
// 可选中文字 class
.is-selected {
  -moz-user-select: text; /*火狐*/
  -webkit-user-select: text; /*webkit浏览器*/
  -ms-user-select: text; /*IE10*/
  -khtml-user-select: text; /*早期浏览器*/
  user-select: text;
}
/* 滚动条 */
* ::-webkit-scrollbar-track-piece {
  display: none;
  background-color: #09114c;
}
* ::-webkit-scrollbar-track {
  display: none;
  background-color: #09114c;
}
* ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
* ::-webkit-scrollbar-thumb {
  border-radius: 20px !important;
  background-color: $neu-primary-color;
  background-clip: padding-box;
  min-height: 10px;
}
* ::-webkit-scrollbar-thumb:hover {
  background-color: $neu-primary-color;
}
.dark {
  /* 滚动条 */
  * ::-webkit-scrollbar-track-piece {
    display: none;
    background-color: #09114c;
  }
  * ::-webkit-scrollbar-track {
    display: none;
    background-color: #09114c;
  }
  * ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  * ::-webkit-scrollbar-thumb {
    border-radius: 20px !important;
    background-color: $neu-new-dark-border-color;
    background-clip: padding-box;
    min-height: 10px;
  }
  * ::-webkit-scrollbar-thumb:hover {
    background-color: $neu-new-dark-border-color;
  }
  /* 滚动条不可见 */
}
/* 滚动条不可见 */
/** ::-webkit-scrollbar {
    width: 0px;
  }*/
// 无数据显示
.no-data-box {
  min-height: 180px;
}
.no-data {
  position: absolute;
  background-image: url(../assets/img/no-data.png);
  min-height: 180px;
  width: 100%;
  overflow: hidden;
  background-position: center 10px;
  box-sizing: border-box;
  background-repeat: no-repeat;
  &.center {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  &.type1 {
    background-image: url(../assets/img/no-data-1.png);
  }
  &.no-text {
    &::before {
      content: '';
    }
  }
  &::before {
    content: '暂无数据';
    display: block;
    position: absolute;
    left: 50%;
    width: 100px;
    margin-left: -50px;
    text-align: center;
    top: 150px;
    color: #ccc;
  }
  .no-data-text {
    position: absolute;
    text-align: center;
    color: #999;
    bottom: 10px;
    left: 0;
    width: 100%;
  }
}

/* wangeditor 配置 */
.font[size='1'] {
  font-size: 12px;
}
.font[size='2'] {
  font-size: 14px;
}
.font[size='3'] {
  font-size: 16px;
}
.font[size='4'] {
  font-size: 18px;
}
.font[size='5'] {
  font-size: 24px;
}

.hljs-tag {
  color: #71aef2 !important;
}
// .w-e-toolbar {
//   z-index: 10000 !important;
// }
.w-e-menu .w-e-panel-container {
  .w-e-panel-tab-title {
    // display: none !important;
    line-height: 26px;
  }
  .w-e-panel-tab-content {
    padding: 5px 15px 5px 15px !important;
    .wang-code-textarea {
      margin-top: 0 !important;
    }
    .w-e-button-container {
      margin-top: -5px;
    }
  }
}
.wang-code-textarea {
  height: 80px !important;
  margin-top: 0;
}

.no-border {
  border-color: rgba(0, 0, 0, 0) !important;
}
.el-radio-button.is-active .el-radio-button__inner {
  background: $neu-new-primary-color !important;
}
.el-radio-button:not(.is-active) .el-radio-button__inner {
  background: rgba($color: $neu-black-color, $alpha: 0.05) !important;
}
.el-radio-button,
.el-radio-button .el-radio-button__inner {
  border: 0;
  border-color: rgba(255, 255, 255, 1) !important;
}

.el-button--primary:not(.dark-btn) {
  border: 0 !important;
  background: $neu-new-primary-color !important;
  border-color: rgba(255, 255, 255, 1) !important;
}

.el-button--warning {
  border: 0 !important;
  background: $neu-new-warning-color !important;
  border-color: rgba(255, 255, 255, 1) !important;
}

.el-button--danger {
  border: 0 !important;
  background: $neu-new-danger-color !important;
  border-color: rgba(255, 255, 255, 1) !important;
}
.el-button--success {
  border: 0 !important;
  background: $neu-new-success-color !important;
  border-color: rgba(255, 255, 255, 1) !important;
}
.el-dialog {
  border-radius: 5px !important;
  margin-top: 10vh !important;
  // .el-dialog__header {
  //   box-sizing: border-box;
  //   padding-bottom: 0;
  //   .el-dialog__title {
  //     display: block;
  //     width: 100%;
  //     color: $neu-primary-color;
  //     padding-bottom: 10px;
  //     border-bottom: 1px solid $neu-border-color;
  //     font-weight: 600;
  //   }
  // }
  .el-dialog__header {
    border-radius: 5px 5px 0 0 !important;
    overflow: hidden;
    box-sizing: border-box;
    height: 44px;
    line-height: 44px;
    padding: 0;
    .el-dialog__title {
      padding-left: 20px;
      display: block;
      height: 44px;
      line-height: 44px;
      font-size: 16px;
      width: 100%;
      // background-color: $neu-primary-color;
      background: linear-gradient(90deg, #004898 0%, #5b83ea 100%);
      color: $neu-white-color;
      font-weight: 600;
      letter-spacing: 2px;
    }
    .el-dialog__headerbtn {
      color: $neu-white-color;
      top: 14px;
      .el-dialog__close {
        color: $neu-white-color;
      }
    }
  }
  .el-dialog__body {
    box-sizing: border-box;
    padding: 20px 20px 10px;
    // max-height: 600px;
    // overflow-y: auto;
  }
}

.el-select {
  width: 100%;
}
.el-form-item__label {
  font-weight: 600;
}
.el-image {
  border-radius: 2px;
}
// 缩放时下拉菜单变窄问题处理
.el-dropdown__popper {
  white-space: nowrap;
}
.neu-error-box.el-message-box {
  .el-message-box__header {
    .el-message-box__title {
      color: $neu-new-warning-color;
    }
  }
}
.el-message-box.icho-message-box:not(.neu-default-box) {
  position: relative;
  border: 0;
  .el-message-box__header {
    height: 44px;
    line-height: 44px;
    padding: 0;
    .el-message-box__title {
      font-size: 16px !important;
      padding-left: 44px;
      line-height: 44px;
      background: $neu-new-primary-color;
      color: $neu-white-color;
      font-weight: 600;
    }
  }
  &.neu-info-box {
    .el-message-box__title {
      background: $neu-new-primary-color;
    }
  }
  &.neu-error-box {
    .el-message-box__title {
      background: $neu-new-danger-color;
    }
  }
  &.neu-warning-box {
    .el-message-box__title {
      background: $neu-new-warning-color;
    }
  }
  &.neu-dark-theme-message {
    background-color: $neu-new-dark-bg-color-2;
    .el-message-box__title {
      background: $neu-new-dark-color;
    }
    .el-message-box__message {
      color: $neu-new-dark-msg-text-color;
    }
    .el-message-box__btns {
      .el-button--default.msg-cancel-btn.el-button,
      .el-button--primary.msg-confirm-btn.el-button {
        background-color: $neu-new-dark-bg-color !important;
        border-color: $neu-new-dark-border-color !important;
        color: $neu-new-dark-btn-text-color !important;
        &:hover {
          background-color: $neu-new-dark-bg-color-hover !important;
          border-color: $neu-new-dark-border-color-hover !important;
          color: $neu-new-dark-btn-text-color-hover !important;
        }
      }
    }
  }
  .el-message-box__content {
    padding: 25px 15px;
    .el-message-box__container {
      position: initial;
      .el-message-box__status {
        top: 13px;
        transform: translateY(0%);
        color: $neu-white-color;
        font-size: 18px !important;
      }
      .el-message-box__status + .el-message-box__message {
        padding-left: 12px;
        padding-right: 12px;
      }
      .el-message-box__message {
        word-break: break-word;
      }
    }
  }
  .el-message-box__btns {
    flex-direction: row-reverse;
    justify-content: flex-start;
    .el-button--primary {
      color: $color-white !important;
    }
    .msg-cancel-btn {
      margin-left: 10px;
    }
    .msg-confirm-btn {
      margin-left: 0px;
      color: $color-white !important;
    }
  }
}
.no-modal {
  .el-overlay {
    position: fixed;
    top: 0;
    right: 0%;
    bottom: 0;
    left: 0%;
    z-index: 2000;
    height: 0;
    overflow: inherit;
  }
}
.el-select__input {
  border: 0 !important;
}
.el-drawer__body {
  overflow-y: auto;
  overflow-x: hidden;
}
// 自定义按钮 type icho
.el-button.icho-btn {
  color: $neu-primary-color !important;
  background-color: #00000000 !important;
  border-color: #00000000 !important;
}
.el-button.icho-btn.neu-color-red {
  color: $neu-error-color !important;
  background-color: #00000000 !important;
  border-color: #00000000 !important;
}
.el-button.icho-btn:hover {
  background: #f5f5f5 !important;
  border-color: #f5f5f5 !important;
}
.el-button i + span {
  margin-left: 5px;
}
.el-button i {
  width: 12px;
  height: 12px;
}
#el-drawer__title {
  margin-bottom: 0;
  padding: 10px 20px;
  line-height: 40px;
}
.el-drawer__body {
  border-top: 1px solid #e6e6e6;
  background-color: #f5f5f5;
}
.el-popper:not(.el-select__popper) {
  max-width: 750px;
  &.el-cascader__dropdown {
    overflow-x: auto;
    overflow-y: hidden;
  }
}
// .el-select-dropdown.is-multiple {
//   min-width: 200px !important;
// }
.el-table {
  -moz-user-select: text; /*火狐*/
  -webkit-user-select: text; /*webkit浏览器*/
  -ms-user-select: text; /*IE10*/
  -khtml-user-select: text; /*早期浏览器*/
  user-select: text;
}

.pre-wrap {
  white-space: pre-wrap;
}

// step组件去掉小点
.el-step__line {
  display: none !important;
}
pre {
  background-color: $neu-global-color;
  overflow-x: auto;
}
.md-dark {
  background-color: #323232;
  .default-theme pre {
    background-color: #1a1a1a;
  }
}
.dark-btn {
  &.el-button--default.el-button,
  &.el-button--primary.el-button {
    background-color: $neu-new-dark-bg-color !important;
    border-color: $neu-new-dark-border-color !important;
    color: $neu-new-dark-btn-text-color !important;
    &:hover {
      background-color: $neu-new-dark-bg-color-hover !important;
      border-color: $neu-new-dark-border-color-hover !important;
      color: $neu-new-dark-btn-text-color-hover !important;
    }
  }
}

.el-tag.el-tag--large {
  line-height: 30px;
}

@font-face {
  font-family: "numberFront";
  src: url('../assets/font/din-bold-2.ttf') format('truetype');
}
.neu-number{
  font-family: "numberFront";
}